package com.zit.java.util.object;

import org.apache.poi.ss.formula.functions.T;

import java.io.Serializable;

public class AjaxDone extends TableData<T> implements Serializable  {
    private int statusCode; //返回的状态
    private String message; //返回的消息
    private String forwardUrl;//状态666跳转
    private Object data; //返回的数据

    public AjaxDone() {
    }

    public AjaxDone(int statusCode, String message) {
        this.statusCode = statusCode;
        this.message = message;
    }

    public AjaxDone(int statusCode, String message, Object data) {
        this.statusCode = statusCode;
        this.message = message;
        this.data = data;
    }

    public AjaxDone(int statusCode, String message, String forwardUrl, Object data) {
        this.statusCode = statusCode;
        this.message = message;
        this.forwardUrl = forwardUrl;
        this.data = data;
    }

    public AjaxDone(int statusCode, String message, String forwardUrl) {
        this.statusCode = statusCode;
        this.message = message;
        this.forwardUrl = forwardUrl;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getForwardUrl() {
        return forwardUrl;
    }

    public void setForwardUrl(String forwardUrl) {
        this.forwardUrl = forwardUrl;
    }
}
